<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link
	href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css"
	rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
<script th:src="@{/layer/layer.js}"></script>
</head>
<body>
	<div class="container-fluid" id="app">
		<h5 class="text-center bg-info text-white p-2">科目成绩统计报表</h5>
		<div class="mt-3">
			<table class="table">
				<thead>
					<tr>
						<th>科目名</th>
						<th>平均成绩</th>
					</tr>
				</thead>
				<tbody>
					<tr th:each="n : ${list}">
						<td th:text="${n.c_name}"></td>
						<td th:text="${n.avgscr}"></td>	
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</body>
</html>